package AsLayers.Geometry
{
	public class Point implements IGeometry
	{
		public var x:Number
		public var y:Number
		private var parent:IGeometry
		public function Point(x:Number,y:Number){
			this.x=x
			this.y=y
		}
		public function getArea():Number{
			return 0
		}
		public function getLength():Number{
			return 0
		}
		public function toString():String{
			return x+" "+y
		}
		public function getGeometryName():String{
			return "Point"
		}
		public function setParent(geo:IGeometry):void{
			this.parent=geo;
		}
		public function getParent():IGeometry{
			return this.parent
		}

	}
}